package com.carl.mapper;

import com.carl.model.Medal;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface MedalMapper extends BaseMapper<Medal> {

    @Select(" SELECT me.id , me.`name` , me.img , me.description FROM t_medal me WHERE me.groupId = #{groupId} ")
    List<Medal> listMedalInfoByGroupId(Long groupId);

}